home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 November / PCWorld_2007-11_cd.bin / v cisle / tweakwindow / setup-tw-15.exe / install_script.iss
Text File  |  2007-09-24  |  6KB  |  95 lines

  1. ;InnoSetupVersion=5.0.4
  2.  
  3. [Setup]
  4. AppName=TweakWindow
  5. AppVerName=TweakWindow 1.5
  6. AppId=TweakWindow
  7. AppVersion=1.5
  8. AppPublisher=AbsoluteWay
  9. AppPublisherURL=http://www.AbsoluteWay.com
  10. AppSupportURL=http://www.AbsoluteWay.com
  11. AppUpdatesURL=http://www.AbsoluteWay.com
  12. DefaultDirName={pf}\TweakWindow
  13. DefaultGroupName=TweakWindow
  14. UninstallDisplayIcon={app}\TweakWin.exe
  15. UninstallDisplayName=TweakWindow
  16. OutputBaseFilename=setup-tw-15
  17. Compression=lzma
  18. PrivilegesRequired=none
  19. LicenseFile=embedded\License.txt
  20. InfoBeforeFile=embedded\InfoBefore.txt
  21. WizardImageFile=embedded\WizardImage0.bmp
  22. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  23.  
  24. [Files]
  25. Source: "{app}\TweakWin.exe"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: restartreplace comparetimestamp overwritereadonly ignoreversion 
  26. Source: "{app}\TweakWindow.chm"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: overwritereadonly ignoreversion 
  27. Source: "{app}\License.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: overwritereadonly ignoreversion 
  28. Source: "{app}\ReadMe.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: overwritereadonly ignoreversion 
  29. Source: "{app}\Order.txt"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: overwritereadonly ignoreversion 
  30. Source: "{app}\TWHook.dll"; DestDir: "{app}"; MinVersion: 0.0,5.0.2195; Flags: restartreplace comparetimestamp overwritereadonly ignoreversion 
  31. Source: "{app}\Languages\French.lng"; DestDir: "{app}\Languages"; MinVersion: 0.0,5.0.2195; Flags: comparetimestamp overwritereadonly promptifolder 
  32.  
  33. [Dirs]
  34. Name: "{app}\Languages"; 
  35.  
  36. [Registry]
  37. Root: HKCU; Subkey: "software\microsoft\windows\currentversion\run"; ValueName: "TweakWindow"; ValueType: String; ValueData: "{app}\TweakWin.exe"; Tasks: autorun; MinVersion: 0.0,5.0.2195; Flags: uninsdeletevalue 
  38. Root: HKCU; Subkey: "Software\AbsoluteWay"; MinVersion: 0.0,5.0.2195; Flags: uninsdeletekeyifempty 
  39. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow"; MinVersion: 0.0,5.0.2195; Flags: uninsdeletekey 
  40. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; MinVersion: 0.0,5.0.2195; Flags: uninsdeletekey 
  41. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "AppPath"; ValueType: String; ValueData: "{app}"; MinVersion: 0.0,5.0.2195; 
  42. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "ShowSplash"; ValueType: Dword; ValueData: "$1"; MinVersion: 0.0,5.0.2195; Flags: createvalueifdoesntexist 
  43. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "AutoStart"; ValueType: Dword; ValueData: "$0"; MinVersion: 0.0,5.0.2195; 
  44. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "AutoStart"; ValueType: Dword; ValueData: "$1"; Tasks: autorun; MinVersion: 0.0,5.0.2195; 
  45. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "Mode"; ValueType: Dword; ValueData: "$0"; MinVersion: 0.0,5.0.2195; Flags: createvalueifdoesntexist 
  46. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "TopmostTransparent"; ValueType: Dword; ValueData: "$1"; MinVersion: 0.0,5.0.2195; Flags: createvalueifdoesntexist 
  47. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "TopmostTransparency"; ValueType: Dword; ValueData: "$3"; MinVersion: 0.0,5.0.2195; Flags: createvalueifdoesntexist 
  48. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow"; ValueName: "Key"; ValueType: String; ValueData: "0"; MinVersion: 0.0,5.0.2195; Flags: createvalueifdoesntexist 
  49. Root: HKCU; Subkey: "Software\AbsoluteWay\TweakWindow\Settings"; ValueName: "Version"; ValueType: String; ValueData: "1.5"; MinVersion: 0.0,5.0.2195; 
  50.  
  51. [INI]
  52. FileName: "{app}\TweakWindow Site.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.AbsoluteWay.com/?pg_tw"; 
  53.  
  54. [Run]
  55. Filename: "{app}\TweakWin.exe"; Description: "Launch now. (See icon in TaskTray)"; MinVersion: 0.0,5.0.2195; Flags: postinstall skipifsilent nowait
  56.  
  57. [UninstallRun]
  58. Filename: "{app}\TweakWin.exe"; Parameters: "/close"; RunOnceId: "close1"; MinVersion: 0.0,5.0.2195; 
  59. Filename: "{app}\TweakWin.exe"; Parameters: "/close"; RunOnceId: "close2"; MinVersion: 0.0,5.0.2195; 
  60. Filename: "{app}\TweakWin.exe"; Parameters: "/close"; RunOnceId: "close3"; MinVersion: 0.0,5.0.2195; 
  61. Filename: "{app}\TweakWin.exe"; Parameters: "/uninstall"; RunOnceId: "uninstall"; MinVersion: 0.0,5.0.2195; 
  62.  
  63. [Icons]
  64. Name: "{group}\TweakWindow"; Filename: "{app}\TweakWin.exe"; WorkingDir: "{app}"; MinVersion: 0.0,5.0.2195; 
  65. Name: "{group}\TweakWindow Help"; Filename: "{app}\TweakWindow.chm"; MinVersion: 0.0,5.0.2195; 
  66. Name: "{group}\TweakWindow on the Web"; Filename: "{app}\TweakWindow Site.url"; MinVersion: 0.0,5.0.2195; 
  67. Name: "{group}\Uninstall TweakWindow"; Filename: "{uninstallexe}"; MinVersion: 0.0,5.0.2195; 
  68. Name: "{userdesktop}\TweakWindow"; Filename: "{app}\TweakWin.exe"; WorkingDir: "{app}"; Tasks: desktopicon; MinVersion: 4.1,4.0; 
  69.  
  70. [Tasks]
  71. Name: "autorun"; Description: "Launch program at &Windows startup"; GroupDescription: "Additional options:"; MinVersion: 0.0,5.0.2195; 
  72. Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional options:"; MinVersion: 4.1,4.0; 
  73.  
  74. [UninstallDelete]
  75. Type: files; Name: "{app}\TweakWindow Site.url"; 
  76. Type: files; Name: "{app}\TWHook.dll"; 
  77. Type: files; Name: "{app}\Thumbs.db"; 
  78. Type: files; Name: "{app}\Desktop.ini"; 
  79.  
  80. [CustomMessages]
  81. default.NameAndVersion=%1 version %2
  82. default.AdditionalIcons=Additional icons:
  83. default.CreateDesktopIcon=Create a &desktop icon
  84. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  85. default.ProgramOnTheWeb=%1 on the Web
  86. default.UninstallProgram=Uninstall %1
  87. default.LaunchProgram=Launch %1
  88. default.AssocFileExtension=&Associate %1 with the %2 file extension
  89. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  90.  
  91. [Languages]
  92. ; These files are stubs
  93. ; To achieve better results after recompilation, use the real language files
  94. Name: "default"; MessagesFile: "embedded\default.isl"; 
  95.